﻿// MT510




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category5
{
  public class MT510 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagDefinition U0008;
    private static SwiftTagSubItemDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagChoiceDefinition U0011;
    private static SwiftTagDefinition U0012;
    private static SwiftTagSubItemDefinition U0013;
    private static SwiftTagSubItemDefinition U0014;
    private static SwiftTagDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagSubItemDefinition U0017;
    private static SwiftTagSubItemDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagDefinition U001A;
    private static SwiftTagSubItemDefinition U001B;
    private static SwiftTagSubItemDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagSubItemDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagSequenceDefinition U0083;
    private static SwiftTagDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagChoiceDefinition U0087;
    private static SwiftTagDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagSubItemDefinition U008D;
    private static SwiftTagSubItemDefinition U008E;
    private static SwiftTagDefinition U008F;
    private static SwiftTagSubItemDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagSequenceDefinition U0094;
    private static SwiftTagDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagDefinition U0097;
    private static SwiftTagSubItemDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagSubItemDefinition U009A;
    private static SwiftTagSequenceDefinition U009B;
    private static SwiftTagDefinition U009C;
    private static SwiftTagSubItemDefinition U009D;
    private static SwiftTagDefinition U009E;
    private static SwiftTagSubItemDefinition U009F;
    private static SwiftTagSubItemDefinition U0001U0002;
    private static SwiftTagSubItemDefinition U0002U0002;
    private static SwiftTagDefinition U0003U0002;
    private static SwiftTagSubItemDefinition U0004U0002;
    private static SwiftTagSubItemDefinition U0005U0002;
    private static SwiftTagDefinition U0006U0002;
    private static SwiftTagSubItemDefinition U0007U0002;
    private static SwiftTagDefinition U0008U0002;
    private static SwiftTagSubItemDefinition U000EU0002;
    private static SwiftTagDefinition U000FU0002;
    private static SwiftTagSubItemDefinition U0010U0002;
    private static SwiftTagSequenceDefinition U0011U0002;
    private static SwiftTagDefinition U0012U0002;
    private static SwiftTagSubItemDefinition U0013U0002;
    private static SwiftTagDefinition U0014U0002;
    private static SwiftTagSubItemDefinition U0015U0002;
    private static SwiftTagSubItemDefinition U0016U0002;
    private static SwiftTagChoiceDefinition U0017U0002;
    private static SwiftTagDefinition U0018U0002;
    private static SwiftTagSubItemDefinition U0019U0002;
    private static SwiftTagSubItemDefinition U001AU0002;
    private static SwiftTagDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagSubItemDefinition U001DU0002;
    private static SwiftTagSubItemDefinition U001EU0002;
    private static SwiftTagDefinition U001FU0002;
    private static SwiftTagSubItemDefinition U007FU0002;
    private static SwiftTagSubItemDefinition U0080U0002;
    private static SwiftTagSubItemDefinition U0081U0002;
    private static SwiftTagSubItemDefinition U0082U0002;
    private static SwiftTagSubItemDefinition U0083U0002;
    private static SwiftTagDefinition U0084U0002;
    private static SwiftTagSubItemDefinition U0086U0002;
    private static SwiftTagSubItemDefinition U0087U0002;
    private static SwiftTagChoiceDefinition U0088U0002;
    private static SwiftTagDefinition U0089U0002;
    private static SwiftTagSubItemDefinition U008AU0002;
    private static SwiftTagSubItemDefinition U008BU0002;
    private static SwiftTagDefinition U008CU0002;
    private static SwiftTagSubItemDefinition U008DU0002;
    private static SwiftTagSubItemDefinition U008EU0002;
    private static SwiftTagSubItemDefinition U008FU0002;
    private static SwiftTagDefinition U0090U0002;
    private static SwiftTagSubItemDefinition U0091U0002;
    private static SwiftTagSubItemDefinition U0092U0002;
    private static SwiftTagDefinition U0093U0002;
    private static SwiftTagSubItemDefinition U0094U0002;
    private static SwiftTagSubItemDefinition U0095U0002;
    private static SwiftTagSubItemDefinition U0096U0002;
    private static SwiftTagChoiceDefinition U0097U0002;
    private static SwiftTagDefinition U0098U0002;
    private static SwiftTagSubItemDefinition U0099U0002;
    private static SwiftTagSubItemDefinition U009AU0002;
    private static SwiftTagDefinition U009BU0002;
    private static SwiftTagSubItemDefinition U009CU0002;
    private static SwiftTagSubItemDefinition U009DU0002;
    private static SwiftTagSubItemDefinition U009EU0002;
    private static SwiftTagSubItemDefinition U009FU0002;
    private static SwiftTagDefinition U0001U0003;
    private static SwiftTagSubItemDefinition U0002U0003;
    private static SwiftTagSubItemDefinition U0003U0003;
    private static SwiftTagSubItemDefinition U0004U0003;
    private static SwiftTagDefinition U0005U0003;
    private static SwiftTagSubItemDefinition U0006U0003;
    private static SwiftTagSubItemDefinition U0007U0003;
    private static SwiftTagSubItemDefinition U0008U0003;
    private static SwiftTagSubItemDefinition U000EU0003;
    private static SwiftTagDefinition U000FU0003;
    private static SwiftTagSubItemDefinition U0010U0003;
    private static SwiftTagSubItemDefinition U0011U0003;
    private static SwiftTagDefinition U0012U0003;
    private static SwiftTagSubItemDefinition U0013U0003;
    private static SwiftTagSequenceDefinition U0014U0003;
    private static SwiftTagDefinition U0015U0003;
    private static SwiftTagSubItemDefinition U0016U0003;
    private static SwiftTagChoiceDefinition U0017U0003;
    private static SwiftTagDefinition U0018U0003;
    private static SwiftTagSubItemDefinition U0019U0003;
    private static SwiftTagSubItemDefinition U001AU0003;
    private static SwiftTagDefinition U001BU0003;
    private static SwiftTagSubItemDefinition U001CU0003;
    private static SwiftTagSubItemDefinition U001DU0003;
    private static SwiftTagSubItemDefinition U001EU0003;
    private static SwiftTagDefinition U001FU0003;
    private static SwiftTagSubItemDefinition U007FU0003;
    private static SwiftTagSubItemDefinition U0080U0003;
    private static SwiftTagDefinition U0081U0003;
    private static SwiftTagSubItemDefinition U0082U0003;

    [Description("General Information")]
    public MT510.SequenceAClass SequenceA
    {
      get
      {
        return new MT510.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Registration Details")]
    public MT510.SequenceBClass SequenceB
    {
      get
      {
        MT510.SequenceBClass sequenceBclass = new MT510.SequenceBClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceBclass).Count > 0)
          return sequenceBclass;
        else
          return (MT510.SequenceBClass) null;
      }
    }

    [Description("Additional Information")]
    public MT510.SequenceCClass SequenceC
    {
      get
      {
        MT510.SequenceCClass sequenceCclass = new MT510.SequenceCClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceCclass).Count > 0)
          return sequenceCclass;
        else
          return (MT510.SequenceCClass) null;
      }
    }

    public MT510()
      : base(true)
    {
    }

    public MT510(SwiftMessage message)
      : base(message)
    {
    }

    public MT510.SequenceBClass AddSequenceB()
    {
      return this.SequenceB ?? new MT510.SequenceBClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceB(MT510.SequenceBClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT510.SequenceCClass AddSequenceC()
    {
      return this.SequenceC ?? new MT510.SequenceCClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceC(MT510.SequenceCClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT510.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT510.MessageDefinition = new SwiftMessageDefinition("MT510", "Registration Status and Processing Advice");
      MT510.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT510.U0003 = new SwiftTagDefinition("StartOfBlock_A_16R", "Start Of Block");
      MT510.U0003.TagName = ":16R:GENL";
      MT510.U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block ");
      MT510.U0004.Mandatory = false;
      MT510.U0003.Elements.Add((SwiftDefinitionElement) MT510.U0004);
      MT510.U0002.Elements.Add((SwiftDefinitionElement) MT510.U0003);
      MT510.U0005 = new SwiftTagDefinition("Reference_A_20C", "Reference");
      MT510.U0005.TagName = ":20C::";
      MT510.U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0005.Elements.Add((SwiftDefinitionElement) MT510.U0006);
      MT510.U0007 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT510.U0005.Elements.Add((SwiftDefinitionElement) MT510.U0007);
      MT510.U0002.Elements.Add((SwiftDefinitionElement) MT510.U0005);
      MT510.U0008 = new SwiftTagDefinition("FunctionOfTheMessage_A_23G", "Function of the message");
      MT510.U0008.TagName = ":23G:";
      MT510.U000E = new SwiftTagSubItemDefinition("Function", "Function");
      MT510.U0008.Elements.Add((SwiftDefinitionElement) MT510.U000E);
      MT510.U000F = new SwiftTagSubItemDefinition("FunctionOfTheMessage", "Function of the Message");
      MT510.U000F.Mandatory = false;
      MT510.U0010 = new SwiftTagSubItemDefinition("Subfunction", "Subfunction");
      MT510.U000F.Elements.Add((SwiftDefinitionElement) MT510.U0010);
      MT510.U0008.Elements.Add((SwiftDefinitionElement) MT510.U000F);
      MT510.U0002.Elements.Add((SwiftDefinitionElement) MT510.U0008);
      MT510.U0011 = new SwiftTagChoiceDefinition("Choice", "");
      MT510.U0011.Mandatory = false;
      MT510.U0011.Multiple = true;
      MT510.U0012 = new SwiftTagDefinition("Date_A_98A", "Preparation Date");
      MT510.U0012.TagName = ":98A::";
      MT510.U0013 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0012.Elements.Add((SwiftDefinitionElement) MT510.U0013);
      MT510.U0014 = new SwiftTagSubItemDefinition("Date", "Date");
      MT510.U0012.Elements.Add((SwiftDefinitionElement) MT510.U0014);
      MT510.U0011.Elements.Add((SwiftDefinitionElement) MT510.U0012);
      MT510.U0015 = new SwiftTagDefinition("DateTime_A_98C", "Preparation Date");
      MT510.U0015.TagName = ":98C::";
      MT510.U0016 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0015.Elements.Add((SwiftDefinitionElement) MT510.U0016);
      MT510.U0017 = new SwiftTagSubItemDefinition("DateTime", "Date And Time");
      MT510.U0018 = new SwiftTagSubItemDefinition("Date", "Date");
      MT510.U0017.Elements.Add((SwiftDefinitionElement) MT510.U0018);
      MT510.U0019 = new SwiftTagSubItemDefinition("Time", "Time");
      MT510.U0017.Elements.Add((SwiftDefinitionElement) MT510.U0019);
      MT510.U0015.Elements.Add((SwiftDefinitionElement) MT510.U0017);
      MT510.U0011.Elements.Add((SwiftDefinitionElement) MT510.U0015);
      MT510.U001A = new SwiftTagDefinition("DateTime_A_98E", "Trade Date/Time");
      MT510.U001A.TagName = ":98E::";
      MT510.U001B = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U001A.Elements.Add((SwiftDefinitionElement) MT510.U001B);
      MT510.U001C = new SwiftTagSubItemDefinition("DateTimeDecimalsAndUTCIndicator", "Trade Date/Time");
      MT510.U001D = new SwiftTagSubItemDefinition("DateTimeDecimals", "Trade Date/Time");
      MT510.U001E = new SwiftTagSubItemDefinition("DateTime", "Date\\Time");
      MT510.U001F = new SwiftTagSubItemDefinition("Date", "Date");
      MT510.U001E.Elements.Add((SwiftDefinitionElement) MT510.U001F);
      MT510.U007F = new SwiftTagSubItemDefinition("Time", "Time");
      MT510.U001E.Elements.Add((SwiftDefinitionElement) MT510.U007F);
      MT510.U001D.Elements.Add((SwiftDefinitionElement) MT510.U001E);
      MT510.U0080 = new SwiftTagSubItemDefinition("Decimals", "Time");
      MT510.U0080.Mandatory = false;
      MT510.U001D.Elements.Add((SwiftDefinitionElement) MT510.U0080);
      MT510.U001C.Elements.Add((SwiftDefinitionElement) MT510.U001D);
      MT510.U0081 = new SwiftTagSubItemDefinition("UTCIndicatorRecord", "Date\\Time");
      MT510.U0081.Mandatory = false;
      MT510.U0082 = new SwiftTagSubItemDefinition("UTCIndicator", "Indicator");
      MT510.U0081.Elements.Add((SwiftDefinitionElement) MT510.U0082);
      MT510.U001C.Elements.Add((SwiftDefinitionElement) MT510.U0081);
      MT510.U001A.Elements.Add((SwiftDefinitionElement) MT510.U001C);
      MT510.U0011.Elements.Add((SwiftDefinitionElement) MT510.U001A);
      MT510.U0002.Elements.Add((SwiftDefinitionElement) MT510.U0011);
      MT510.U0083 = new SwiftTagSequenceDefinition("SequenceA1", "Linkages");
      MT510.U0083.Multiple = true;
      MT510.U0084 = new SwiftTagDefinition("StartOfBlock_A1_16R", "Start Of Block");
      MT510.U0084.TagName = ":16R:LINK";
      MT510.U0086 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block ");
      MT510.U0086.Mandatory = false;
      MT510.U0084.Elements.Add((SwiftDefinitionElement) MT510.U0086);
      MT510.U0083.Elements.Add((SwiftDefinitionElement) MT510.U0084);
      MT510.U0087 = new SwiftTagChoiceDefinition("Choice", "");
      MT510.U0087.Mandatory = false;
      MT510.U0087.Multiple = true;
      MT510.U0088 = new SwiftTagDefinition("NumberIdentification_A1_13A", "Linked Message");
      MT510.U0088.TagName = ":13A::";
      MT510.U0089 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0088.Elements.Add((SwiftDefinitionElement) MT510.U0089);
      MT510.U008A = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT510.U0088.Elements.Add((SwiftDefinitionElement) MT510.U008A);
      MT510.U0087.Elements.Add((SwiftDefinitionElement) MT510.U0088);
      MT510.U008B = new SwiftTagDefinition("NumberIdentification_A1_13B", "Linked Message");
      MT510.U008B.TagName = ":13B::";
      MT510.U008C = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U008B.Elements.Add((SwiftDefinitionElement) MT510.U008C);
      MT510.U008D = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT510.U008B.Elements.Add((SwiftDefinitionElement) MT510.U008D);
      MT510.U008E = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT510.U008B.Elements.Add((SwiftDefinitionElement) MT510.U008E);
      MT510.U0087.Elements.Add((SwiftDefinitionElement) MT510.U008B);
      MT510.U0083.Elements.Add((SwiftDefinitionElement) MT510.U0087);
      MT510.U008F = new SwiftTagDefinition("Reference_A1_20C", "Reference");
      MT510.U008F.TagName = ":20C::";
      MT510.U0090 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U008F.Elements.Add((SwiftDefinitionElement) MT510.U0090);
      MT510.U0091 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT510.U008F.Elements.Add((SwiftDefinitionElement) MT510.U0091);
      MT510.U0083.Elements.Add((SwiftDefinitionElement) MT510.U008F);
      MT510.U0092 = new SwiftTagDefinition("EndOfBlock_A1_16S", "End of Block");
      MT510.U0092.TagName = ":16S:LINK";
      MT510.U0093 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block");
      MT510.U0093.Mandatory = false;
      MT510.U0092.Elements.Add((SwiftDefinitionElement) MT510.U0093);
      MT510.U0083.Elements.Add((SwiftDefinitionElement) MT510.U0092);
      MT510.U0002.Elements.Add((SwiftDefinitionElement) MT510.U0083);
      MT510.U0094 = new SwiftTagSequenceDefinition("SequenceA2", "Status");
      MT510.U0094.Multiple = true;
      MT510.U0095 = new SwiftTagDefinition("StartOfBlock_A2_16R", "Start Of Block");
      MT510.U0095.TagName = ":16R:STAT";
      MT510.U0096 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block ");
      MT510.U0096.Mandatory = false;
      MT510.U0095.Elements.Add((SwiftDefinitionElement) MT510.U0096);
      MT510.U0094.Elements.Add((SwiftDefinitionElement) MT510.U0095);
      MT510.U0097 = new SwiftTagDefinition("Status_A2_25D", "Status CPRC");
      MT510.U0097.TagName = ":25D::";
      MT510.U0098 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0097.Elements.Add((SwiftDefinitionElement) MT510.U0098);
      MT510.U0099 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT510.U0097.Elements.Add((SwiftDefinitionElement) MT510.U0099);
      MT510.U009A = new SwiftTagSubItemDefinition("StatusCode", "Status Code");
      MT510.U0097.Elements.Add((SwiftDefinitionElement) MT510.U009A);
      MT510.U0094.Elements.Add((SwiftDefinitionElement) MT510.U0097);
      MT510.U009B = new SwiftTagSequenceDefinition("SequenceA2a", "Reason");
      MT510.U009B.Mandatory = false;
      MT510.U009B.Multiple = true;
      MT510.U009C = new SwiftTagDefinition("StartOfBlock_A2a_16R", "Start Of Block");
      MT510.U009C.TagName = ":16R:REAS";
      MT510.U009D = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block ");
      MT510.U009D.Mandatory = false;
      MT510.U009C.Elements.Add((SwiftDefinitionElement) MT510.U009D);
      MT510.U009B.Elements.Add((SwiftDefinitionElement) MT510.U009C);
      MT510.U009E = new SwiftTagDefinition("Reason_A2a_24B", "Reason CAND");
      MT510.U009E.TagName = ":24B::";
      MT510.U009F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U009E.Elements.Add((SwiftDefinitionElement) MT510.U009F);
      MT510.U0001U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT510.U009E.Elements.Add((SwiftDefinitionElement) MT510.U0001U0002);
      MT510.U0002U0002 = new SwiftTagSubItemDefinition("ReasonCode", "Reason Code");
      MT510.U009E.Elements.Add((SwiftDefinitionElement) MT510.U0002U0002);
      MT510.U009B.Elements.Add((SwiftDefinitionElement) MT510.U009E);
      MT510.U0003U0002 = new SwiftTagDefinition("Narrative_A2a_70D", "Reason Narrative");
      MT510.U0003U0002.TagName = ":70D::";
      MT510.U0003U0002.Mandatory = false;
      MT510.U0004U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0003U0002.Elements.Add((SwiftDefinitionElement) MT510.U0004U0002);
      MT510.U0005U0002 = new SwiftTagSubItemDefinition("Narrative", "Reason Narrative");
      MT510.U0003U0002.Elements.Add((SwiftDefinitionElement) MT510.U0005U0002);
      MT510.U009B.Elements.Add((SwiftDefinitionElement) MT510.U0003U0002);
      MT510.U0006U0002 = new SwiftTagDefinition("EndOfBlock_A2a_16S", "End Of Block");
      MT510.U0006U0002.TagName = ":16S:REAS";
      MT510.U0007U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block ");
      MT510.U0007U0002.Mandatory = false;
      MT510.U0006U0002.Elements.Add((SwiftDefinitionElement) MT510.U0007U0002);
      MT510.U009B.Elements.Add((SwiftDefinitionElement) MT510.U0006U0002);
      MT510.U0094.Elements.Add((SwiftDefinitionElement) MT510.U009B);
      MT510.U0008U0002 = new SwiftTagDefinition("EndOfBlock_A2_16S", "End Of Block");
      MT510.U0008U0002.TagName = ":16S:STAT";
      MT510.U000EU0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block ");
      MT510.U000EU0002.Mandatory = false;
      MT510.U0008U0002.Elements.Add((SwiftDefinitionElement) MT510.U000EU0002);
      MT510.U0094.Elements.Add((SwiftDefinitionElement) MT510.U0008U0002);
      MT510.U0002.Elements.Add((SwiftDefinitionElement) MT510.U0094);
      MT510.U000FU0002 = new SwiftTagDefinition("EndOfBlock_A_16S", "End of Block");
      MT510.U000FU0002.TagName = ":16S:GENL";
      MT510.U0010U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block ");
      MT510.U0010U0002.Mandatory = false;
      MT510.U000FU0002.Elements.Add((SwiftDefinitionElement) MT510.U0010U0002);
      MT510.U0002.Elements.Add((SwiftDefinitionElement) MT510.U000FU0002);
      MT510.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT510.U0002);
      MT510.U0011U0002 = new SwiftTagSequenceDefinition("SequenceB", "Registration Details");
      MT510.U0011U0002.Mandatory = false;
      MT510.U0012U0002 = new SwiftTagDefinition("StartOfBlock_B_16R", "Start Of Block");
      MT510.U0012U0002.TagName = ":16R:REGDET";
      MT510.U0013U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block ");
      MT510.U0013U0002.Mandatory = false;
      MT510.U0012U0002.Elements.Add((SwiftDefinitionElement) MT510.U0013U0002);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0012U0002);
      MT510.U0014U0002 = new SwiftTagDefinition("Reference_B_20D", "Reference");
      MT510.U0014U0002.TagName = ":20D::";
      MT510.U0014U0002.Mandatory = false;
      MT510.U0014U0002.Multiple = true;
      MT510.U0015U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0014U0002.Elements.Add((SwiftDefinitionElement) MT510.U0015U0002);
      MT510.U0016U0002 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT510.U0014U0002.Elements.Add((SwiftDefinitionElement) MT510.U0016U0002);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0014U0002);
      MT510.U0017U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT510.U0017U0002.Mandatory = false;
      MT510.U0017U0002.Multiple = true;
      MT510.U0018U0002 = new SwiftTagDefinition("Party_B_95P", "Party");
      MT510.U0018U0002.TagName = ":95P::";
      MT510.U0018U0002.Multiple = true;
      MT510.U0019U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0018U0002.Elements.Add((SwiftDefinitionElement) MT510.U0019U0002);
      MT510.U001AU0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT510.U0018U0002.Elements.Add((SwiftDefinitionElement) MT510.U001AU0002);
      MT510.U0017U0002.Elements.Add((SwiftDefinitionElement) MT510.U0018U0002);
      MT510.U001BU0002 = new SwiftTagDefinition("Party_B_95R", "Party");
      MT510.U001BU0002.TagName = ":95R::";
      MT510.U001BU0002.Multiple = true;
      MT510.U001CU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U001BU0002.Elements.Add((SwiftDefinitionElement) MT510.U001CU0002);
      MT510.U001DU0002 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT510.U001BU0002.Elements.Add((SwiftDefinitionElement) MT510.U001DU0002);
      MT510.U001EU0002 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT510.U001BU0002.Elements.Add((SwiftDefinitionElement) MT510.U001EU0002);
      MT510.U0017U0002.Elements.Add((SwiftDefinitionElement) MT510.U001BU0002);
      MT510.U001FU0002 = new SwiftTagDefinition("Party_B_95S", "Party");
      MT510.U001FU0002.TagName = ":95S::";
      MT510.U001FU0002.Multiple = true;
      MT510.U007FU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U001FU0002.Elements.Add((SwiftDefinitionElement) MT510.U007FU0002);
      MT510.U0080U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT510.U001FU0002.Elements.Add((SwiftDefinitionElement) MT510.U0080U0002);
      MT510.U0081U0002 = new SwiftTagSubItemDefinition("TypeOfID", "Type Of ID");
      MT510.U001FU0002.Elements.Add((SwiftDefinitionElement) MT510.U0081U0002);
      MT510.U0082U0002 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT510.U001FU0002.Elements.Add((SwiftDefinitionElement) MT510.U0082U0002);
      MT510.U0083U0002 = new SwiftTagSubItemDefinition("AlternativeID", "Alternative ID");
      MT510.U001FU0002.Elements.Add((SwiftDefinitionElement) MT510.U0083U0002);
      MT510.U0017U0002.Elements.Add((SwiftDefinitionElement) MT510.U001FU0002);
      MT510.U0084U0002 = new SwiftTagDefinition("Party_B_95U", "Party");
      MT510.U0084U0002.TagName = ":95U::";
      MT510.U0084U0002.Multiple = true;
      MT510.U0086U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0084U0002.Elements.Add((SwiftDefinitionElement) MT510.U0086U0002);
      MT510.U0087U0002 = new SwiftTagSubItemDefinition("Name", "Name");
      MT510.U0084U0002.Elements.Add((SwiftDefinitionElement) MT510.U0087U0002);
      MT510.U0017U0002.Elements.Add((SwiftDefinitionElement) MT510.U0084U0002);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0017U0002);
      MT510.U0088U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT510.U0088U0002.Mandatory = false;
      MT510.U0088U0002.Multiple = true;
      MT510.U0089U0002 = new SwiftTagDefinition("Place_B_94C", "Place");
      MT510.U0089U0002.TagName = ":94C::";
      MT510.U0089U0002.Multiple = true;
      MT510.U008AU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0089U0002.Elements.Add((SwiftDefinitionElement) MT510.U008AU0002);
      MT510.U008BU0002 = new SwiftTagSubItemDefinition("CountryCode", "CountryCode");
      MT510.U0089U0002.Elements.Add((SwiftDefinitionElement) MT510.U008BU0002);
      MT510.U0088U0002.Elements.Add((SwiftDefinitionElement) MT510.U0089U0002);
      MT510.U008CU0002 = new SwiftTagDefinition("Place_B_94D", "Place");
      MT510.U008CU0002.TagName = ":94D::";
      MT510.U008CU0002.Multiple = true;
      MT510.U008DU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U008CU0002.Elements.Add((SwiftDefinitionElement) MT510.U008DU0002);
      MT510.U008EU0002 = new SwiftTagSubItemDefinition("CountryCodePlace", "Country Code and Place");
      MT510.U008FU0002 = new SwiftTagSubItemDefinition("CountryCodePlace_1", "Country Code and Place");
      MT510.U008EU0002.Elements.Add((SwiftDefinitionElement) MT510.U008FU0002);
      MT510.U008CU0002.Elements.Add((SwiftDefinitionElement) MT510.U008EU0002);
      MT510.U0088U0002.Elements.Add((SwiftDefinitionElement) MT510.U008CU0002);
      MT510.U0090U0002 = new SwiftTagDefinition("Place_B_94G", "Place");
      MT510.U0090U0002.TagName = ":94G::";
      MT510.U0090U0002.Multiple = true;
      MT510.U0091U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0090U0002.Elements.Add((SwiftDefinitionElement) MT510.U0091U0002);
      MT510.U0092U0002 = new SwiftTagSubItemDefinition("Address", "Address");
      MT510.U0090U0002.Elements.Add((SwiftDefinitionElement) MT510.U0092U0002);
      MT510.U0088U0002.Elements.Add((SwiftDefinitionElement) MT510.U0090U0002);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0088U0002);
      MT510.U0093U0002 = new SwiftTagDefinition("NumberIdentification_B_13B", "Number Identification");
      MT510.U0093U0002.TagName = ":13B::";
      MT510.U0093U0002.Mandatory = false;
      MT510.U0093U0002.Multiple = true;
      MT510.U0094U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0093U0002.Elements.Add((SwiftDefinitionElement) MT510.U0094U0002);
      MT510.U0095U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT510.U0093U0002.Elements.Add((SwiftDefinitionElement) MT510.U0095U0002);
      MT510.U0096U0002 = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT510.U0093U0002.Elements.Add((SwiftDefinitionElement) MT510.U0096U0002);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0093U0002);
      MT510.U0097U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT510.U0097U0002.Mandatory = false;
      MT510.U0097U0002.Multiple = true;
      MT510.U0098U0002 = new SwiftTagDefinition("Date_B_98A", "Date Or Time");
      MT510.U0098U0002.TagName = ":98A::";
      MT510.U0098U0002.Multiple = true;
      MT510.U0099U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0098U0002.Elements.Add((SwiftDefinitionElement) MT510.U0099U0002);
      MT510.U009AU0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT510.U0098U0002.Elements.Add((SwiftDefinitionElement) MT510.U009AU0002);
      MT510.U0097U0002.Elements.Add((SwiftDefinitionElement) MT510.U0098U0002);
      MT510.U009BU0002 = new SwiftTagDefinition("DateTime_B_98C", "Date Or Time");
      MT510.U009BU0002.TagName = ":98C::";
      MT510.U009BU0002.Multiple = true;
      MT510.U009CU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U009BU0002.Elements.Add((SwiftDefinitionElement) MT510.U009CU0002);
      MT510.U009DU0002 = new SwiftTagSubItemDefinition("DateTime", "");
      MT510.U009EU0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT510.U009DU0002.Elements.Add((SwiftDefinitionElement) MT510.U009EU0002);
      MT510.U009FU0002 = new SwiftTagSubItemDefinition("Time", "Time");
      MT510.U009DU0002.Elements.Add((SwiftDefinitionElement) MT510.U009FU0002);
      MT510.U009BU0002.Elements.Add((SwiftDefinitionElement) MT510.U009DU0002);
      MT510.U0097U0002.Elements.Add((SwiftDefinitionElement) MT510.U009BU0002);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0097U0002);
      MT510.U0001U0003 = new SwiftTagDefinition("IdentificationOfFinancialInstrument_B_35B", "Identification Of The Financial Instrument");
      MT510.U0001U0003.TagName = ":35B:";
      MT510.U0001U0003.Mandatory = false;
      MT510.U0002U0003 = new SwiftTagSubItemDefinition("IdentificationOfSecurity", "Identification Of Security");
      MT510.U0002U0003.Mandatory = false;
      MT510.U0003U0003 = new SwiftTagSubItemDefinition("IdentificationOfSecurity_1", "Identification Of Security");
      MT510.U0002U0003.Elements.Add((SwiftDefinitionElement) MT510.U0003U0003);
      MT510.U0001U0003.Elements.Add((SwiftDefinitionElement) MT510.U0002U0003);
      MT510.U0004U0003 = new SwiftTagSubItemDefinition("DescriptionOfSecurity", "Description Of Security");
      MT510.U0004U0003.Mandatory = false;
      MT510.U0001U0003.Elements.Add((SwiftDefinitionElement) MT510.U0004U0003);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0001U0003);
      MT510.U0005U0003 = new SwiftTagDefinition("QuantityOfFinancialInstrument_B_36B", "Quantity Of Financial Instrument To Be Registered");
      MT510.U0005U0003.TagName = ":36B::";
      MT510.U0005U0003.Mandatory = false;
      MT510.U0006U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0005U0003.Elements.Add((SwiftDefinitionElement) MT510.U0006U0003);
      MT510.U0007U0003 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "Quantity Type Code And Quantity");
      MT510.U0008U0003 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT510.U0007U0003.Elements.Add((SwiftDefinitionElement) MT510.U0008U0003);
      MT510.U000EU0003 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT510.U0007U0003.Elements.Add((SwiftDefinitionElement) MT510.U000EU0003);
      MT510.U0005U0003.Elements.Add((SwiftDefinitionElement) MT510.U0007U0003);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0005U0003);
      MT510.U000FU0003 = new SwiftTagDefinition("Account_B_97A", "Safekeeping Account");
      MT510.U000FU0003.TagName = ":97A::";
      MT510.U000FU0003.Mandatory = false;
      MT510.U0010U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U000FU0003.Elements.Add((SwiftDefinitionElement) MT510.U0010U0003);
      MT510.U0011U0003 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT510.U000FU0003.Elements.Add((SwiftDefinitionElement) MT510.U0011U0003);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U000FU0003);
      MT510.U0012U0003 = new SwiftTagDefinition("EndOfBlock_B_16S", "End Of Block");
      MT510.U0012U0003.TagName = ":16S:REGDET";
      MT510.U0013U0003 = new SwiftTagSubItemDefinition("EndOfBlock", "End Of Block ");
      MT510.U0013U0003.Mandatory = false;
      MT510.U0012U0003.Elements.Add((SwiftDefinitionElement) MT510.U0013U0003);
      MT510.U0011U0002.Elements.Add((SwiftDefinitionElement) MT510.U0012U0003);
      MT510.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT510.U0011U0002);
      MT510.U0014U0003 = new SwiftTagSequenceDefinition("SequenceC", "Additional Information");
      MT510.U0014U0003.Mandatory = false;
      MT510.U0015U0003 = new SwiftTagDefinition("StartOfBlock_C_16R", "Start of Block");
      MT510.U0015U0003.TagName = ":16R:ADDINFO";
      MT510.U0016U0003 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT510.U0016U0003.Mandatory = false;
      MT510.U0015U0003.Elements.Add((SwiftDefinitionElement) MT510.U0016U0003);
      MT510.U0014U0003.Elements.Add((SwiftDefinitionElement) MT510.U0015U0003);
      MT510.U0017U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT510.U0017U0003.Mandatory = false;
      MT510.U0017U0003.Multiple = true;
      MT510.U0018U0003 = new SwiftTagDefinition("Party_C_95P", "Party");
      MT510.U0018U0003.TagName = ":95P::";
      MT510.U0018U0003.Multiple = true;
      MT510.U0019U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U0018U0003.Elements.Add((SwiftDefinitionElement) MT510.U0019U0003);
      MT510.U001AU0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT510.U0018U0003.Elements.Add((SwiftDefinitionElement) MT510.U001AU0003);
      MT510.U0017U0003.Elements.Add((SwiftDefinitionElement) MT510.U0018U0003);
      MT510.U001BU0003 = new SwiftTagDefinition("Party_C_95R", "Party");
      MT510.U001BU0003.TagName = ":95R::";
      MT510.U001BU0003.Multiple = true;
      MT510.U001CU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U001BU0003.Elements.Add((SwiftDefinitionElement) MT510.U001CU0003);
      MT510.U001DU0003 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT510.U001BU0003.Elements.Add((SwiftDefinitionElement) MT510.U001DU0003);
      MT510.U001EU0003 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT510.U001BU0003.Elements.Add((SwiftDefinitionElement) MT510.U001EU0003);
      MT510.U0017U0003.Elements.Add((SwiftDefinitionElement) MT510.U001BU0003);
      MT510.U001FU0003 = new SwiftTagDefinition("Party_C_95Q", "Party");
      MT510.U001FU0003.TagName = ":95Q::";
      MT510.U001FU0003.Multiple = true;
      MT510.U007FU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT510.U001FU0003.Elements.Add((SwiftDefinitionElement) MT510.U007FU0003);
      MT510.U0080U0003 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT510.U001FU0003.Elements.Add((SwiftDefinitionElement) MT510.U0080U0003);
      MT510.U0017U0003.Elements.Add((SwiftDefinitionElement) MT510.U001FU0003);
      MT510.U0014U0003.Elements.Add((SwiftDefinitionElement) MT510.U0017U0003);
      MT510.U0081U0003 = new SwiftTagDefinition("EndOfBlock_C_16S", "End of Block");
      MT510.U0081U0003.TagName = ":16S:ADDINFO";
      MT510.U0082U0003 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT510.U0082U0003.Mandatory = false;
      MT510.U0081U0003.Elements.Add((SwiftDefinitionElement) MT510.U0082U0003);
      MT510.U0014U0003.Elements.Add((SwiftDefinitionElement) MT510.U0081U0003);
      MT510.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT510.U0014U0003);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT510.U0002;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_A_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0003);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_A
      {
        get
        {
          return this.StartOfBlock_A_16R;
        }
      }

      [Description("Reference")]
      public Tag20C Reference_A_20C
      {
        get
        {
          return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0005);
        }
      }

      [Description("Reference")]
      public Tag20C Tag20C_Reference_A
      {
        get
        {
          return this.Reference_A_20C;
        }
      }

      [Description("Function of the message")]
      public MT510.SequenceAClass.Tag23G FunctionOfTheMessage_A_23G
      {
        get
        {
          return new MT510.SequenceAClass.Tag23G((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0008);
        }
      }

      [Description("Function of the message")]
      public MT510.SequenceAClass.Tag23G Tag23G_FunctionOfTheMessage_A
      {
        get
        {
          return this.FunctionOfTheMessage_A_23G;
        }
      }

      [Description("Preparation Date")]
      public Tag98A Date_A_98A
      {
        get
        {
          return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0012);
        }
      }

      [Description("Preparation Date")]
      public Tag98A Tag98A_Date_A
      {
        get
        {
          return this.Date_A_98A;
        }
      }

      [Description("Preparation Date")]
      public Tag98C DateTime_A_98C
      {
        get
        {
          return new Tag98C((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0015);
        }
      }

      [Description("Preparation Date")]
      public Tag98C Tag98C_DateTime_A
      {
        get
        {
          return this.DateTime_A_98C;
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E DateTime_A_98E
      {
        get
        {
          return new Tag98E((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U001A);
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E Tag98E_DateTime_A
      {
        get
        {
          return this.DateTime_A_98E;
        }
      }

      [Description("Linkages")]
      public MT510.SequenceAClass.SequenceA1Class[] SequenceA1
      {
        get
        {
          int index = -1;
          List<MT510.SequenceAClass.SequenceA1Class> list = new List<MT510.SequenceAClass.SequenceA1Class>();
          int count;
          do
          {
            ++index;
            MT510.SequenceAClass.SequenceA1Class sequenceA1Class = new MT510.SequenceAClass.SequenceA1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceA1Class).Count;
            if (count > 0)
              list.Add(sequenceA1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Status")]
      public MT510.SequenceAClass.SequenceA2Class[] SequenceA2
      {
        get
        {
          int index = -1;
          List<MT510.SequenceAClass.SequenceA2Class> list = new List<MT510.SequenceAClass.SequenceA2Class>();
          int count;
          do
          {
            ++index;
            MT510.SequenceAClass.SequenceA2Class sequenceA2Class = new MT510.SequenceAClass.SequenceA2Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceA2Class).Count;
            if (count > 0)
              list.Add(sequenceA2Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_A_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U000FU0002);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_A
      {
        get
        {
          return this.EndOfBlock_A_16S;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT510.SequenceAClass.SequenceA1Class AddSequenceA1()
      {
        return new MT510.SequenceAClass.SequenceA1Class((SwiftElement) this, this.SequenceA1.Length, true);
      }

      public void RemoveSequenceA1(MT510.SequenceAClass.SequenceA1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT510.SequenceAClass.SequenceA2Class AddSequenceA2()
      {
        return new MT510.SequenceAClass.SequenceA2Class((SwiftElement) this, this.SequenceA2.Length, true);
      }

      public void RemoveSequenceA2(MT510.SequenceAClass.SequenceA2Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class Tag23G : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("23G", value);
          }
        }

        internal Tag23G(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class SequenceA1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT510.U0083;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_A1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0084);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_A1
        {
          get
          {
            return this.StartOfBlock_A1_16R;
          }
        }

        [Description("Linked Message")]
        public Tag13A NumberIdentification_A1_13A
        {
          get
          {
            return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0088);
          }
        }

        [Description("Linked Message")]
        public Tag13A Tag13A_NumberIdentification_A1
        {
          get
          {
            return this.NumberIdentification_A1_13A;
          }
        }

        [Description("Linked Message")]
        public Tag13B NumberIdentification_A1_13B
        {
          get
          {
            return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U008B);
          }
        }

        [Description("Linked Message")]
        public Tag13B Tag13B_NumberIdentification_A1
        {
          get
          {
            return this.NumberIdentification_A1_13B;
          }
        }

        [Description("Reference")]
        public Tag20C Reference_A1_20C
        {
          get
          {
            return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U008F);
          }
        }

        [Description("Reference")]
        public Tag20C Tag20C_Reference_A1
        {
          get
          {
            return this.Reference_A1_20C;
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_A1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0092);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_A1
        {
          get
          {
            return this.EndOfBlock_A1_16S;
          }
        }

        internal SequenceA1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class SequenceA2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT510.U0094;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_A2_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0095);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_A2
        {
          get
          {
            return this.StartOfBlock_A2_16R;
          }
        }

        [Description("Status CPRC")]
        public Tag25D Status_A2_25D
        {
          get
          {
            return new Tag25D((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0097);
          }
        }

        [Description("Status CPRC")]
        public Tag25D Tag25D_Status_A2
        {
          get
          {
            return this.Status_A2_25D;
          }
        }

        [Description("Reason")]
        public MT510.SequenceAClass.SequenceA2Class.SequenceA2aClass[] SequenceA2a
        {
          get
          {
            int index = -1;
            List<MT510.SequenceAClass.SequenceA2Class.SequenceA2aClass> list = new List<MT510.SequenceAClass.SequenceA2Class.SequenceA2aClass>();
            int count;
            do
            {
              ++index;
              MT510.SequenceAClass.SequenceA2Class.SequenceA2aClass sequenceA2aClass = new MT510.SequenceAClass.SequenceA2Class.SequenceA2aClass((SwiftElement) this, index, false);
              count = this.ListTags((SwiftElement) sequenceA2aClass).Count;
              if (count > 0)
                list.Add(sequenceA2aClass);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_A2_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0008U0002);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_A2
        {
          get
          {
            return this.EndOfBlock_A2_16S;
          }
        }

        internal SequenceA2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public MT510.SequenceAClass.SequenceA2Class.SequenceA2aClass AddSequenceA2a()
        {
          return new MT510.SequenceAClass.SequenceA2Class.SequenceA2aClass((SwiftElement) this, this.SequenceA2a.Length, true);
        }

        public void RemoveSequenceA2a(MT510.SequenceAClass.SequenceA2Class.SequenceA2aClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public class SequenceA2aClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT510.U009B;
            }
          }

          [Description("Start Of Block")]
          public Tag16R StartOfBlock_A2a_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U009C);
            }
          }

          [Description("Start Of Block")]
          public Tag16R Tag16R_StartOfBlock_A2a
          {
            get
            {
              return this.StartOfBlock_A2a_16R;
            }
          }

          [Description("Reason CAND")]
          public Tag24B Reason_A2a_24B
          {
            get
            {
              return new Tag24B((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U009E);
            }
          }

          [Description("Reason CAND")]
          public Tag24B Tag24B_Reason_A2a
          {
            get
            {
              return this.Reason_A2a_24B;
            }
          }

          [Description("Reason Narrative")]
          public Tag70D Narrative_A2a_70D
          {
            get
            {
              return new Tag70D((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0003U0002);
            }
          }

          [Description("Reason Narrative")]
          public Tag70D Tag70D_Narrative_A2a
          {
            get
            {
              return this.Narrative_A2a_70D;
            }
          }

          [Description("End Of Block")]
          public Tag16S EndOfBlock_A2a_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0006U0002);
            }
          }

          [Description("End Of Block")]
          public Tag16S Tag16S_EndOfBlock_A2a
          {
            get
            {
              return this.EndOfBlock_A2a_16S;
            }
          }

          internal SequenceA2aClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT510.U0011U0002;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_B_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0012U0002);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_B
      {
        get
        {
          return this.StartOfBlock_B_16R;
        }
      }

      [Description("Reference")]
      public Tag20D[] Reference_B_20D
      {
        get
        {
          int index = -1;
          List<Tag20D> list = new List<Tag20D>();
          int count;
          do
          {
            ++index;
            Tag20D tag20D = new Tag20D((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U0014U0002);
            count = this.ListTags((SwiftElement) tag20D).Count;
            if (count > 0)
              list.Add(tag20D);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Reference")]
      public Tag20D[] Tag20D_Reference_B
      {
        get
        {
          return this.Reference_B_20D;
        }
      }

      [Description("Party")]
      public Tag95P[] Party_B_95P
      {
        get
        {
          int index = -1;
          List<Tag95P> list = new List<Tag95P>();
          int count;
          do
          {
            ++index;
            Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U0018U0002);
            count = this.ListTags((SwiftElement) tag95P).Count;
            if (count > 0)
              list.Add(tag95P);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95P[] Tag95P_Party_B
      {
        get
        {
          return this.Party_B_95P;
        }
      }

      [Description("Party")]
      public Tag95R[] Party_B_95R
      {
        get
        {
          int index = -1;
          List<Tag95R> list = new List<Tag95R>();
          int count;
          do
          {
            ++index;
            Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U001BU0002);
            count = this.ListTags((SwiftElement) tag95R).Count;
            if (count > 0)
              list.Add(tag95R);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95R[] Tag95R_Party_B
      {
        get
        {
          return this.Party_B_95R;
        }
      }

      [Description("Party")]
      public MT510.SequenceBClass.Tag95S[] Party_B_95S
      {
        get
        {
          int index = -1;
          List<MT510.SequenceBClass.Tag95S> list = new List<MT510.SequenceBClass.Tag95S>();
          int count;
          do
          {
            ++index;
            MT510.SequenceBClass.Tag95S tag95S = new MT510.SequenceBClass.Tag95S((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U001FU0002);
            count = this.ListTags((SwiftElement) tag95S).Count;
            if (count > 0)
              list.Add(tag95S);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public MT510.SequenceBClass.Tag95S[] Tag95S_Party_B
      {
        get
        {
          return this.Party_B_95S;
        }
      }

      [Description("Party")]
      public Tag95U[] Party_B_95U
      {
        get
        {
          int index = -1;
          List<Tag95U> list = new List<Tag95U>();
          int count;
          do
          {
            ++index;
            Tag95U tag95U = new Tag95U((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U0084U0002);
            count = this.ListTags((SwiftElement) tag95U).Count;
            if (count > 0)
              list.Add(tag95U);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95U[] Tag95U_Party_B
      {
        get
        {
          return this.Party_B_95U;
        }
      }

      [Description("Place")]
      public Tag94C[] Place_B_94C
      {
        get
        {
          int index = -1;
          List<Tag94C> list = new List<Tag94C>();
          int count;
          do
          {
            ++index;
            Tag94C tag94C = new Tag94C((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U0089U0002);
            count = this.ListTags((SwiftElement) tag94C).Count;
            if (count > 0)
              list.Add(tag94C);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Place")]
      public Tag94C[] Tag94C_Place_B
      {
        get
        {
          return this.Place_B_94C;
        }
      }

      [Description("Place")]
      public Tag94D[] Place_B_94D
      {
        get
        {
          int index = -1;
          List<Tag94D> list = new List<Tag94D>();
          int count;
          do
          {
            ++index;
            Tag94D tag94D = new Tag94D((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U008CU0002);
            count = this.ListTags((SwiftElement) tag94D).Count;
            if (count > 0)
              list.Add(tag94D);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Place")]
      public Tag94D[] Tag94D_Place_B
      {
        get
        {
          return this.Place_B_94D;
        }
      }

      [Description("Place")]
      public Tag94G[] Place_B_94G
      {
        get
        {
          int index = -1;
          List<Tag94G> list = new List<Tag94G>();
          int count;
          do
          {
            ++index;
            Tag94G tag94G = new Tag94G((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U0090U0002);
            count = this.ListTags((SwiftElement) tag94G).Count;
            if (count > 0)
              list.Add(tag94G);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Place")]
      public Tag94G[] Tag94G_Place_B
      {
        get
        {
          return this.Place_B_94G;
        }
      }

      [Description("Number Identification")]
      public Tag13B[] NumberIdentification_B_13B
      {
        get
        {
          int index = -1;
          List<Tag13B> list = new List<Tag13B>();
          int count;
          do
          {
            ++index;
            Tag13B tag13B = new Tag13B((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U0093U0002);
            count = this.ListTags((SwiftElement) tag13B).Count;
            if (count > 0)
              list.Add(tag13B);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Number Identification")]
      public Tag13B[] Tag13B_NumberIdentification_B
      {
        get
        {
          return this.NumberIdentification_B_13B;
        }
      }

      [Description("Date Or Time")]
      public Tag98A[] Date_B_98A
      {
        get
        {
          int index = -1;
          List<Tag98A> list = new List<Tag98A>();
          int count;
          do
          {
            ++index;
            Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U0098U0002);
            count = this.ListTags((SwiftElement) tag98A).Count;
            if (count > 0)
              list.Add(tag98A);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Date Or Time")]
      public Tag98A[] Tag98A_Date_B
      {
        get
        {
          return this.Date_B_98A;
        }
      }

      [Description("Date Or Time")]
      public Tag98C[] DateTime_B_98C
      {
        get
        {
          int index = -1;
          List<Tag98C> list = new List<Tag98C>();
          int count;
          do
          {
            ++index;
            Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U009BU0002);
            count = this.ListTags((SwiftElement) tag98C).Count;
            if (count > 0)
              list.Add(tag98C);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Date Or Time")]
      public Tag98C[] Tag98C_DateTime_B
      {
        get
        {
          return this.DateTime_B_98C;
        }
      }

      [Description("Identification Of The Financial Instrument")]
      public Tag35B IdentificationOfFinancialInstrument_B_35B
      {
        get
        {
          return new Tag35B((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0001U0003);
        }
      }

      [Description("Identification Of The Financial Instrument")]
      public Tag35B Tag35B_IdentificationOfFinancialInstrument_B
      {
        get
        {
          return this.IdentificationOfFinancialInstrument_B_35B;
        }
      }

      [Description("Quantity Of Financial Instrument To Be Registered")]
      public Tag36B QuantityOfFinancialInstrument_B_36B
      {
        get
        {
          return new Tag36B((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0005U0003);
        }
      }

      [Description("Quantity Of Financial Instrument To Be Registered")]
      public Tag36B Tag36B_QuantityOfFinancialInstrument_B
      {
        get
        {
          return this.QuantityOfFinancialInstrument_B_36B;
        }
      }

      [Description("Safekeeping Account")]
      public Tag97A Account_B_97A
      {
        get
        {
          return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U000FU0003);
        }
      }

      [Description("Safekeeping Account")]
      public Tag97A Tag97A_Account_B
      {
        get
        {
          return this.Account_B_97A;
        }
      }

      [Description("End Of Block")]
      public Tag16S EndOfBlock_B_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0012U0003);
        }
      }

      [Description("End Of Block")]
      public Tag16S Tag16S_EndOfBlock_B
      {
        get
        {
          return this.EndOfBlock_B_16S;
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag20D AddReference_B_20D()
      {
        return new Tag20D((SwiftElement) this, this.Reference_B_20D.Length, (SwiftDefinitionElement) MT510.U0014U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveReference_B_20D(Tag20D tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95P AddParty_B_95P()
      {
        return new Tag95P((SwiftElement) this, this.Party_B_95P.Length, (SwiftDefinitionElement) MT510.U0018U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_B_95P(Tag95P tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95R AddParty_B_95R()
      {
        return new Tag95R((SwiftElement) this, this.Party_B_95R.Length, (SwiftDefinitionElement) MT510.U001BU0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_B_95R(Tag95R tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT510.SequenceBClass.Tag95S AddParty_B_95S()
      {
        return new MT510.SequenceBClass.Tag95S((SwiftElement) this, this.Party_B_95S.Length, (SwiftDefinitionElement) MT510.U001FU0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_B_95S(MT510.SequenceBClass.Tag95S tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95U AddParty_B_95U()
      {
        return new Tag95U((SwiftElement) this, this.Party_B_95U.Length, (SwiftDefinitionElement) MT510.U0084U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_B_95U(Tag95U tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag94C AddPlace_B_94C()
      {
        return new Tag94C((SwiftElement) this, this.Place_B_94C.Length, (SwiftDefinitionElement) MT510.U0089U0002)
        {
          Value = string.Empty
        };
      }

      public void RemovePlace_B_94C(Tag94C tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag94D AddPlace_B_94D()
      {
        return new Tag94D((SwiftElement) this, this.Place_B_94D.Length, (SwiftDefinitionElement) MT510.U008CU0002)
        {
          Value = string.Empty
        };
      }

      public void RemovePlace_B_94D(Tag94D tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag94G AddPlace_B_94G()
      {
        return new Tag94G((SwiftElement) this, this.Place_B_94G.Length, (SwiftDefinitionElement) MT510.U0090U0002)
        {
          Value = string.Empty
        };
      }

      public void RemovePlace_B_94G(Tag94G tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag13B AddNumberIdentification_B_13B()
      {
        return new Tag13B((SwiftElement) this, this.NumberIdentification_B_13B.Length, (SwiftDefinitionElement) MT510.U0093U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveNumberIdentification_B_13B(Tag13B tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag98A AddDate_B_98A()
      {
        return new Tag98A((SwiftElement) this, this.Date_B_98A.Length, (SwiftDefinitionElement) MT510.U0098U0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveDate_B_98A(Tag98A tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag98C AddDateTime_B_98C()
      {
        return new Tag98C((SwiftElement) this, this.DateTime_B_98C.Length, (SwiftDefinitionElement) MT510.U009BU0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveDateTime_B_98C(Tag98C tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public class Tag95S : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95S", value);
          }
        }

        internal Tag95S(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT510.U0014U0003;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_C_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0015U0003);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_C
      {
        get
        {
          return this.StartOfBlock_C_16R;
        }
      }

      [Description("Party")]
      public Tag95P[] Party_C_95P
      {
        get
        {
          int index = -1;
          List<Tag95P> list = new List<Tag95P>();
          int count;
          do
          {
            ++index;
            Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U0018U0003);
            count = this.ListTags((SwiftElement) tag95P).Count;
            if (count > 0)
              list.Add(tag95P);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95P[] Tag95P_Party_C
      {
        get
        {
          return this.Party_C_95P;
        }
      }

      [Description("Party")]
      public Tag95R[] Party_C_95R
      {
        get
        {
          int index = -1;
          List<Tag95R> list = new List<Tag95R>();
          int count;
          do
          {
            ++index;
            Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U001BU0003);
            count = this.ListTags((SwiftElement) tag95R).Count;
            if (count > 0)
              list.Add(tag95R);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95R[] Tag95R_Party_C
      {
        get
        {
          return this.Party_C_95R;
        }
      }

      [Description("Party")]
      public Tag95Q[] Party_C_95Q
      {
        get
        {
          int index = -1;
          List<Tag95Q> list = new List<Tag95Q>();
          int count;
          do
          {
            ++index;
            Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT510.U001FU0003);
            count = this.ListTags((SwiftElement) tag95Q).Count;
            if (count > 0)
              list.Add(tag95Q);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95Q[] Tag95Q_Party_C
      {
        get
        {
          return this.Party_C_95Q;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_C_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT510.U0081U0003);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_C
      {
        get
        {
          return this.EndOfBlock_C_16S;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag95P AddParty_C_95P()
      {
        return new Tag95P((SwiftElement) this, this.Party_C_95P.Length, (SwiftDefinitionElement) MT510.U0018U0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95P(Tag95P tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95R AddParty_C_95R()
      {
        return new Tag95R((SwiftElement) this, this.Party_C_95R.Length, (SwiftDefinitionElement) MT510.U001BU0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95R(Tag95R tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95Q AddParty_C_95Q()
      {
        return new Tag95Q((SwiftElement) this, this.Party_C_95Q.Length, (SwiftDefinitionElement) MT510.U001FU0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95Q(Tag95Q tag)
      {
        this.RemoveTag(tag.GetTag());
      }
    }
  }
}
